package priv.conceit.sc.hoxton.file.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;
import priv.conceit.sc.hoxton.common.entity.file.pojo.File;
import priv.conceit.sc.hoxton.common.entity.file.qo.FileUploadQO;
import priv.conceit.sc.hoxton.common.web.WebResponse;

import java.util.List;

public interface FileService extends IService<File> {

	List<String> upload(FileUploadQO fileUploadQO);

	ResponseEntity download(String shortCode) throws Exception;

	WebResponse share(String shortCode);

	ResponseEntity preview(String shortCode);

	boolean del(String shortCode);

}
